﻿#define _CRT_SECURE_NO_WARNINGS//实现函数判断year是不是润年。
#include<stdio.h>
void judge(int a)
{
	if ((a % 4 == 0 && a % 100 != 0) || a % 400 == 0)
		printf("是闰年\n");
	else
		printf("不是闰年\n");
}
int main()
{
	int year = 0;
	while (scanf("%d", &year) != EOF)
		judge(year);

	return 0;
}